//
//  RegistrationTableViewCell.m
//  WE
//
//  Created by apple on 15/11/18.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "RegistrationTableViewCell.h"
#import "Size.h"
#import <SDWebImage/SDWebImageManager.h>
@implementation RegistrationTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(5*Width, 10*Height, 80*Width, 80*Height)];
        [self.contentView addSubview:self.imageV];
        
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(90*Width, 10*Height, WindowWidth - 90 * Width, 32*Height)];
        self.nameLabel.textColor = [UIColor blackColor];
        self.nameLabel.font = FONT(14);
        [self.contentView addSubview:self.nameLabel];
        
        self.levelLabel = [[UILabel alloc] initWithFrame:CGRectMake(90*Width, 42*Height, WindowWidth - 90 *Height, 24*Height)];
        self.levelLabel.textColor = [UIColor colorWithRed:1.0 green:0.7463 blue:0.2647 alpha:1.0];
        self.levelLabel.font = FONT(12);
        
        [self.contentView addSubview:self.levelLabel];
        
        self.numberLabel = [[UILabel alloc] initWithFrame:CGRectMake(90*Width, 66*Height, WindowWidth - 90 *Height, 24*Height)];
        self.numberLabel.textColor = [UIColor blackColor];
        self.numberLabel.font = FONT(12);
        [self.contentView addSubview:self.numberLabel];
        
        
    }
    
    
    
    return self;
}

- (void)awakeFromNib {
    // Initialization code
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
